package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

public enum OrderInfoStatusEnum implements BaseEnum{

    ACTIVE("active", "活动订单"),
    DEAD("dead", "已作废"),
    FINISH("finish", "已完成"),
    UNACTIVE("unactive", "未激活"),
    CANCEL("cancel", "已取消"),
    ;

    private String code;
    private String describe;

    OrderInfoStatusEnum(String code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
